﻿function getCookie(name){
	var dc = document.cookie;
    var prefix = name + '=';
    var begin = dc.indexOf('; ' + prefix);
    if(begin == -1){
       begin = dc.indexOf(prefix);
       if(begin != 0) return null;
    }else{
       begin += 2;
    }
    var end = document.cookie.indexOf(';', begin);
    if(end == -1) {
       end = dc.length;
    }
    return window.decodeURIComponent?decodeURIComponent(dc.substring(begin + prefix.length, end)):unescape(dc.substring(begin + prefix.length, end));
}
var cvTabDefColCookieName = 'cvListDefCol'; /*引号内的名字可自定义*/